let postData = {
	postJson(url, data, callback) {
		let fetchOptions = {
			method: 'POST',
			headers: {
				Accept : 'application/json',
				'Content-Type' : 'multipart/form-data;boundary=6ff46e0b6b5148d984f148b6542e5a5d'
			},
			body : data
		};

		fetch(url, fetchOptions)
		.then((response) => response.text())
		.then((responseText) => {
			callback(responseText)
			//callback(Json.parse(responseText))
		}).done();
	}
}


export default postData;